﻿<UserControl x:Class="nl.tno.ict.multitouch.wpfmultitouch.controls.MTKeyboard" Width="Auto" Height="Auto" Background="{x:Null}"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:nl.tno.ict.multitouch.wpfmultitouch.controls" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" RenderTransformOrigin="0.5,0.5">
	<UserControl.Resources>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="KeyButtonStyle" TargetType="{x:Type my:MTButton}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type my:MTButton}">						
							<Border Width="Auto" Height="Auto" Background="#FFA9A9A9" CornerRadius="4,4,4,4" Margin="3,3,3,3">
								<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center"/>
							</Border>						
						<ControlTemplate.Triggers>							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>
	<UserControl.RenderTransform>
		<TransformGroup>
			<ScaleTransform ScaleX="1" ScaleY="1"/>
			<SkewTransform AngleX="0" AngleY="0"/>
			<RotateTransform Angle="0"/>
			<TranslateTransform X="0" Y="0"/>
		</TransformGroup>
	</UserControl.RenderTransform>
    <Viewbox RenderTransformOrigin="0.5,0.5">
    	<Viewbox.RenderTransform>
    		<TransformGroup>
    			<ScaleTransform ScaleX="0.6" ScaleY="0.6"/>
    			<SkewTransform AngleX="0" AngleY="0"/>
    			<RotateTransform Angle="0"/>
    			<TranslateTransform X="0" Y="0"/>
    		</TransformGroup>
    	</Viewbox.RenderTransform>
    <Border Width="Auto" Height="Auto" Background="{DynamicResource TransparentBorderBrush}" Padding="5,5,5,5" CornerRadius="7,7,7,7" BorderThickness="1,1,1,1" BorderBrush="#FF000000">
		<Border Height="Auto" x:Name="KeyboardBorder" Width="Auto" CornerRadius="7,7,7,7" Background="#D8FFFFFF" Padding="50,50,50,50">
			<my:MTCanvas Height="250" Width="750" x:Name="KeyboardCanvas" Background="Transparent">
				<my:MTButton Canvas.Left="0" Canvas.Top="0" Height="50" x:Name="MTButtonTilde" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemTilde" Style="{DynamicResource KeyButtonStyle}" Content="~" HorizontalAlignment="Stretch"/>
				<my:MTButton Canvas.Left="50" Canvas.Top="0" Height="50" x:Name="MTButton1" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D1" Style="{DynamicResource KeyButtonStyle}" Content="1"/>
				<my:MTButton Canvas.Left="100" Canvas.Top="0" Height="50" x:Name="MTButton2" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D2" Style="{DynamicResource KeyButtonStyle}" Content="2"/>
				<my:MTButton Canvas.Left="150" Canvas.Top="0" Height="50" x:Name="MTButton3" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D3" Style="{DynamicResource KeyButtonStyle}" Content="3"/>
				<my:MTButton Canvas.Left="200" Canvas.Top="0" Height="50" x:Name="MTButton4" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D4" Style="{DynamicResource KeyButtonStyle}" Content="4"/>
				<my:MTButton Canvas.Left="250" Canvas.Top="0" Height="50" x:Name="MTButton5" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D5" Style="{DynamicResource KeyButtonStyle}" Content="5"/>
				<my:MTButton Canvas.Left="300" Canvas.Top="0" Height="50" x:Name="MTButton6" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D6" Style="{DynamicResource KeyButtonStyle}" Content="6"/>
				<my:MTButton Canvas.Left="350" Canvas.Top="0" Height="50" x:Name="MTButton7" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D7" Style="{DynamicResource KeyButtonStyle}" Content="7"/>
				<my:MTButton Canvas.Left="400" Canvas.Top="0" Height="50" x:Name="MTButton8" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D8" Style="{DynamicResource KeyButtonStyle}" Content="8"/>
				<my:MTButton Canvas.Left="450" Canvas.Top="0" Height="50" x:Name="MTButton9" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D9" Style="{DynamicResource KeyButtonStyle}" Content="9"/>
				<my:MTButton Canvas.Left="500" Canvas.Top="0" Height="50" x:Name="MTButton0" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D0" Style="{DynamicResource KeyButtonStyle}" Content="0"/>
				<my:MTButton Canvas.Left="550" Canvas.Top="0" Height="50" x:Name="MTButtonMinus" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemMinus" Style="{DynamicResource KeyButtonStyle}" Content="-"/>
				<my:MTButton Canvas.Left="600" Canvas.Top="0" Height="50" x:Name="MTButtonChar" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemPipe" Style="{DynamicResource KeyButtonStyle}" Content="!"/>
				<my:MTButton Canvas.Left="650" Canvas.Top="0" Height="50" x:Name="MTButtonBackspace" Width="100" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Back" Style="{DynamicResource KeyButtonStyle}" Content="Backspace"/>
				<my:MTButton Canvas.Left="0" Canvas.Top="50" Height="50" x:Name="MTButtonTab" Width="75" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Tab" Style="{DynamicResource KeyButtonStyle}" Content="Tab"/>
				<my:MTButton Canvas.Left="75" Canvas.Top="50" Height="50" x:Name="MTButtonQ" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Q" Style="{DynamicResource KeyButtonStyle}" Content="q"/>
				<my:MTButton Canvas.Left="125" Canvas.Top="50" Height="50" x:Name="MTButtonW" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="W" Style="{DynamicResource KeyButtonStyle}" Content="w"/>
				<my:MTButton Canvas.Left="175" Canvas.Top="50" Height="50" x:Name="MTButtonE" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="E" Style="{DynamicResource KeyButtonStyle}" Content="e"/>
				<my:MTButton Canvas.Left="225" Canvas.Top="50" Height="50" x:Name="MTButtonR" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="R" Style="{DynamicResource KeyButtonStyle}" Content="r"/>
				<my:MTButton Canvas.Left="275" Canvas.Top="50" Height="50" x:Name="MTButtonT" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="T" Style="{DynamicResource KeyButtonStyle}" Content="t"/>
				<my:MTButton Canvas.Left="325" Canvas.Top="50" Height="50" x:Name="MTButtonY" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Y" Style="{DynamicResource KeyButtonStyle}" Content="y"/>
				<my:MTButton Canvas.Left="375" Canvas.Top="50" Height="50" x:Name="MTButtonU" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="U" Style="{DynamicResource KeyButtonStyle}" Content="u"/>
				<my:MTButton Canvas.Left="425" Canvas.Top="50" Height="50" x:Name="MTButtonI" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="I" Style="{DynamicResource KeyButtonStyle}" Content="i"/>
				<my:MTButton Canvas.Left="475" Canvas.Top="50" Height="50" x:Name="MTButtonO" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="O" Style="{DynamicResource KeyButtonStyle}" Content="o"/>
				<my:MTButton Canvas.Left="525" Canvas.Top="50" Height="50" x:Name="MTButtonP" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="P" Style="{DynamicResource KeyButtonStyle}" Content="p"/>
				<my:MTButton Canvas.Left="575" Canvas.Top="50" Height="50" x:Name="MTButtonBrackOpen" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemOpenBrackets" Style="{DynamicResource KeyButtonStyle}" Content="["/>
				<my:MTButton Canvas.Left="625" Canvas.Top="50" Height="50" x:Name="MTButtonBrackClose" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemCloseBrackets" Style="{DynamicResource KeyButtonStyle}" Content="]"/>
				<my:MTButton Canvas.Left="675" Canvas.Top="50" Height="50" x:Name="MTButtonClose" Width="75" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Escape" Style="{DynamicResource KeyButtonStyle}" Content="Close"/>
				<my:MTButton Canvas.Left="0" Canvas.Top="100" Height="50" x:Name="MTButtonCapsLock" Width="95" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="CapsLock" Style="{DynamicResource KeyButtonStyle}" Content="Caps Lock"/>
				<my:MTButton Canvas.Left="95" Canvas.Top="100" Height="50" x:Name="MTButtonA" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="A" Style="{DynamicResource KeyButtonStyle}" Content="a"/>
				<my:MTButton Canvas.Left="145" Canvas.Top="100" Height="50" x:Name="MTButtonS" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="S" Style="{DynamicResource KeyButtonStyle}" Content="s"/>
				<my:MTButton Canvas.Left="195" Canvas.Top="100" Height="50" x:Name="MTButtonD" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="D" Style="{DynamicResource KeyButtonStyle}" Content="d"/>
				<my:MTButton Canvas.Left="245" Canvas.Top="100" Height="50" x:Name="MTButtonF" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="F" Style="{DynamicResource KeyButtonStyle}" Content="f"/>
				<my:MTButton Canvas.Left="295" Canvas.Top="100" Height="50" x:Name="MTButtonG" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="G" Style="{DynamicResource KeyButtonStyle}" Content="g"/>
				<my:MTButton Canvas.Left="345" Canvas.Top="100" Height="50" x:Name="MTButtonH" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="H" Style="{DynamicResource KeyButtonStyle}" Content="h"/>
				<my:MTButton Canvas.Left="395" Canvas.Top="100" Height="50" x:Name="MTButtonJ" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="J" Style="{DynamicResource KeyButtonStyle}" Content="j"/>
				<my:MTButton Canvas.Left="445" Canvas.Top="100" Height="50" x:Name="MTButtonK" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="K" Style="{DynamicResource KeyButtonStyle}" Content="k"/>
				<my:MTButton Canvas.Left="495" Canvas.Top="100" Height="50" x:Name="MTButtonL" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="L" Style="{DynamicResource KeyButtonStyle}" Content="l"/>
				<my:MTButton Canvas.Left="545" Canvas.Top="100" Height="50" x:Name="MTButtonDotComma" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Oem8" Style="{DynamicResource KeyButtonStyle}" Content=";"/>
				<my:MTButton Canvas.Left="595" Canvas.Top="100" Height="50" x:Name="MTButtonApostrof" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemQuotes" Style="{DynamicResource KeyButtonStyle}" Content="'"/>
				<my:MTButton Canvas.Left="645" Canvas.Top="100" Height="50" x:Name="MTButtonEnter" Width="105" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Enter" Style="{DynamicResource KeyButtonStyle}" Content="Enter"/>
				<my:MTButton Canvas.Left="0" Canvas.Top="150" Height="50" x:Name="MTButtonLeftShift" Width="115" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="LeftShift" Style="{DynamicResource KeyButtonStyle}" Content="Shift"/>
				<my:MTButton Canvas.Left="115" Canvas.Top="150" Height="50" x:Name="MTButtonZ" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Z" Style="{DynamicResource KeyButtonStyle}" Content="z"/>
				<my:MTButton Canvas.Left="165" Canvas.Top="150" Height="50" x:Name="MTButtonX" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="X" Style="{DynamicResource KeyButtonStyle}" Content="x"/>
				<my:MTButton Canvas.Left="215" Canvas.Top="150" Height="50" x:Name="MTButtonC" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="C" Style="{DynamicResource KeyButtonStyle}" Content="c"/>
				<my:MTButton Canvas.Left="265" Canvas.Top="150" Height="50" x:Name="MTButtonV" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="V" Style="{DynamicResource KeyButtonStyle}" Content="v"/>
				<my:MTButton Canvas.Left="315" Canvas.Top="150" Height="50" x:Name="MTButtonB" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="B" Style="{DynamicResource KeyButtonStyle}" Content="b"/>
				<my:MTButton Canvas.Left="365" Canvas.Top="150" Height="50" x:Name="MTButtonN" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="N" Style="{DynamicResource KeyButtonStyle}" Content="n"/>
				<my:MTButton Canvas.Left="415" Canvas.Top="150" Height="50" x:Name="MTButtonM" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="M" Style="{DynamicResource KeyButtonStyle}" Content="m"/>
				<my:MTButton Canvas.Left="465" Canvas.Top="150" Height="50" x:Name="MTButtonComma" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemComma" Style="{DynamicResource KeyButtonStyle}" Content=","/>
				<my:MTButton Canvas.Left="515" Canvas.Top="150" Height="50" x:Name="MTButtonDot" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemPeriod" Style="{DynamicResource KeyButtonStyle}" Content="."/>
				<my:MTButton Canvas.Left="565" Canvas.Top="150" Height="50" x:Name="MTButtonQuestion" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="OemQuestion" Style="{DynamicResource KeyButtonStyle}" Content="?"/>
				<my:MTButton Canvas.Left="615" Canvas.Top="150" Height="50" x:Name="MTButtonUp" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Up" Style="{DynamicResource KeyButtonStyle}" Content="Up"/>
				<my:MTButton Canvas.Left="665" Canvas.Top="150" Height="50" x:Name="MTButtonRightShift" Width="85" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="RightShift" Style="{DynamicResource KeyButtonStyle}" Content="Shift"/>
				<my:MTButton Canvas.Left="35" Canvas.Top="200" Height="50" x:Name="MTButtonLeftCtrl" Width="65" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="LeftCtrl" Style="{DynamicResource KeyButtonStyle}" Content="Ctrl"/>
				<my:MTButton Canvas.Left="100" Canvas.Top="200" Height="50" x:Name="MTButtonLeftAlt" Width="75" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="LeftAlt" Style="{DynamicResource KeyButtonStyle}" Content="Alt"/>
				<my:MTButton Canvas.Left="175" Canvas.Top="200" Height="50" x:Name="MTButtonSpace" Width="390" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Space" Style="{DynamicResource KeyButtonStyle}" Content="Space"/>
				<my:MTButton Canvas.Left="565" Canvas.Top="200" Height="50" x:Name="MTButtonLeft" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Left" Style="{DynamicResource KeyButtonStyle}" Content="Left"/>
				<my:MTButton Canvas.Left="615" Canvas.Top="200" Height="50" x:Name="MTButtonDown" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Down" Style="{DynamicResource KeyButtonStyle}" Content="Down"/>
				<my:MTButton Canvas.Left="665" Canvas.Top="200" Height="50" x:Name="MTButtonRight" Width="50" FontSize="16" CanBeClicked="True" CanBeDragged="False" CanBeRotated="False" CanBeScaled="False" KeyUp="MTButton_KeyUp" KeyDown="MTButton_KeyDown" Click="mtButton_Click" Tag="Right" Style="{DynamicResource KeyButtonStyle}" Content="Right"/>
			</my:MTCanvas>
		</Border>
	</Border>
        </Viewbox>
</UserControl>
